/* Delecor Investments — Google-inspired theme */
:root {
  --blue: #1a73e8;
  --blue-hover: #174ea6;
  --blue-press: #0d47a1;
  --blue-soft: #e8f0fe;
  --red: #ea4335;
  --yellow: #fbbc04;
  --green: #34a853;
  --text: #202124;
  --muted: #5f6368;
  --border: #dadce0;
  --bg: #ffffff;
  --surface: #f8f9fa;
  --shadow: 0 1px 2px rgba(60, 64, 67, 0.15), 0 1px 3px 1px rgba(60, 64, 67, 0.08);
  --shadow-md: 0 1px 3px rgba(60, 64, 67, 0.16), 0 4px 8px 3px rgba(60, 64, 67, 0.08);
  --radius: 8px;
  --header-h: 76px;
  --max: 1120px;
  --font: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--blue);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  z-index: 1000;
}
.skip-link:focus { top: 12px; }

/* Google four-color bar */
.color-bar {
  display: flex;
  height: 4px;
  width: 100%;
}
.color-bar span { flex: 1; }
.color-bar span:nth-child(1) { background: var(--blue); }
.color-bar span:nth-child(2) { background: var(--red); }
.color-bar span:nth-child(3) { background: var(--yellow); }
.color-bar span:nth-child(4) { background: var(--green); }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-link img {
  height: 48px;
  width: auto;
  border-radius: 4px;
}
.logo-link:hover { text-decoration: none; }

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-left: auto;
  font-size: 13px;
  line-height: 1.3;
}
.header-contact a { color: var(--muted); font-weight: 500; }
.header-contact .phone {
  color: var(--blue);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.header-contact a:hover { color: var(--blue-hover); }

.nav-toggle {
  display: none;
  margin-left: 8px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 12px;
  transition: transform 0.2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.main-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-soft);
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(26, 115, 232, 0.12), transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(52, 168, 83, 0.08), transparent 45%),
    linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: 0;
  width: 420px;
  height: 280px;
  background:
    linear-gradient(165deg, transparent 40%, rgba(26, 115, 232, 0.06) 40%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 28px,
      rgba(26, 115, 232, 0.07) 28px,
      rgba(26, 115, 232, 0.07) 56px
    );
  clip-path: polygon(20% 100%, 35% 40%, 50% 70%, 62% 28%, 78% 55%, 90% 18%, 100% 40%, 100% 100%);
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0 0 16px;
  max-width: 18ch;
}
.hero .lede {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
}
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-secondary {
  background: #fff;
  color: var(--blue);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-hover); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #2d8e46; color: #fff; }

/* Path cards */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section h2 {
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}
.section .section-intro {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 36px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 10px;
}
.card p {
  color: var(--muted);
  margin: 0 0 20px;
  flex: 1;
}
.card .btn { align-self: stretch; width: 100%; }
.card-accent { border-top: 4px solid var(--blue); }
.card-accent.red { border-top-color: var(--red); }
.card-accent.yellow { border-top-color: var(--yellow); }
.card-accent.green { border-top-color: var(--green); }

.icon-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--blue-soft);
  color: var(--blue);
  flex-shrink: 0;
}
.icon-dot.green { background: #e6f4ea; color: var(--green); }
.icon-dot.yellow { background: #fef7e0; color: #b06000; }
.icon-dot.red { background: #fce8e6; color: var(--red); }

/* Page header (inner pages) */
.page-hero {
  padding: 48px 0 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}
.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.0625rem;
}

/* Forms */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.req { color: var(--red); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="file"],
select,
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}
textarea { min-height: 120px; resize: vertical; }
.hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

.radio-group, .check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.radio-group label, .check-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 15px;
  margin: 0;
  cursor: pointer;
}
.radio-group input, .check-group input { width: auto; accent-color: var(--blue); }

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-note {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 24px;
}
.form-note p { margin: 0; }
.form-note + .form-note { margin-top: -12px; }

.side-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.side-box h2 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0 0 12px;
}
.side-box p, .side-box li { color: var(--muted); font-size: 14px; }
.side-box ul { margin: 0; padding-left: 18px; }
.side-box a.phone-lg {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--blue);
  margin: 4px 0 12px;
}
.mailto-fallback {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

/* About / prose */
.prose { max-width: 42rem; }
.prose p { margin: 0 0 1.1em; color: var(--text); }
.prose h2 { font-size: 1.5rem; font-weight: 400; margin: 2em 0 0.6em; }
.placeholder-photo {
  background:
    linear-gradient(135deg, #e8f0fe 0%, #f8f9fa 50%, #e6f4ea 100%);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 24px;
  margin: 24px 0;
}
.team-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 16px;
  box-shadow: var(--shadow);
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.team-card h3 { margin: 0 0 4px; font-size: 1.125rem; font-weight: 500; }
.team-card .role { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.team-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Thanks */
.thanks-box {
  text-align: center;
  max-width: 32rem;
  margin: 64px auto;
  padding: 48px 24px;
}
.thanks-box .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e6f4ea;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

/* Footer */
.site-footer {
  background: #202124;
  color: #e8eaed;
  padding: 48px 0 28px;
  margin-top: 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #3c4043;
}
.site-footer h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9aa0a6;
  margin: 0 0 12px;
}
.site-footer a { color: #e8eaed; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 0 0 8px; color: #bdc1c6; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  color: #9aa0a6;
  font-size: 13px;
  align-items: center;
}
.eho {
  display: flex;
  align-items: center;
  gap: 8px;
}
.eho svg { flex-shrink: 0; }

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Mobile */
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; padding: 10px 16px; }
  .header-contact { display: none; }
  .nav-toggle { display: inline-block; margin-left: auto; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
    padding-bottom: 12px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px 8px; }

  .hero { padding: 48px 0 40px; }
  .hero::after { opacity: 0.4; width: 240px; height: 160px; }
  .form-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 48px 0; }
  .form-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.label-like {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
