/*!
Theme Name: surya-panda
Theme URI: https://suryapanda.com/
Author: Surya Kumar Panda
Author URI: https://suryapanda.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: surya-panda
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --gold: #C9A96E;
    --gold-light: #E8D5B0;
    --gold-dark: #9A7340;
    --ink: #0F0E0C;
    --ink-soft: #2C2B28;
    --cream: #FAF7F2;
    --muted: #8A8577;
    --border: rgba(201,169,110,0.2);
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--ink); color: var(--cream); overflow-x: hidden; margin: 0; }

  /* NAV */
  .main-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 4rem;
    background: rgba(15,14,12,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
  }
  .nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 300; letter-spacing: 0.1em; color: var(--gold); text-decoration: none; }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s; }
  .nav-links a:hover { color: var(--gold); }
  .nav-cta { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.55rem 1.5rem; border: 1px solid var(--gold); color: var(--gold); background: transparent; cursor: pointer; transition: all 0.3s; font-family: 'DM Sans', sans-serif; }
  .nav-cta:hover { background: var(--gold); color: var(--ink); }

  /* HERO */
  .hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 8rem 4rem 4rem; position: relative; text-align: center; }
  .hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,169,110,0.06) 0%, transparent 70%); pointer-events: none; }
  .hero-line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 120px; background: linear-gradient(to bottom, transparent, var(--gold)); }
  .hero-inner { position: relative; max-width: 860px; }
  .hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; animation: fadeUp 0.8s ease both; }
  .hero-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 7vw, 6rem); font-weight: 300; line-height: 1.05; color: var(--cream); animation: fadeUp 0.9s 0.1s ease both; }
  .hero-name em { font-style: italic; color: var(--gold); }
  .hero-tagline { font-size: 1.05rem; font-weight: 300; color: var(--muted); margin: 1.8rem auto 0; max-width: 600px; line-height: 1.8; animation: fadeUp 1s 0.2s ease both; }
  .hero-actions { display: flex; gap: 1.25rem; justify-content: center; margin-top: 3rem; animation: fadeUp 1s 0.3s ease both; }
  .btn-primary { padding: 0.85rem 2.5rem; background: var(--gold); color: var(--ink); border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; transition: all 0.3s; text-decoration: none; display: inline-block; }
  .btn-primary:hover { background: var(--gold-light); }
  .btn-outline { padding: 0.85rem 2.5rem; background: transparent; color: var(--cream); border: 1px solid rgba(250,247,242,0.25); cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; transition: all 0.3s; text-decoration: none; display: inline-block; }
  .btn-outline:hover { border-color: var(--gold); color: var(--gold); }
  .hero-stats { display: flex; justify-content: center; margin-top: 5rem; border-top: 1px solid var(--border); padding-top: 2.5rem; animation: fadeUp 1s 0.4s ease both; }
  .stat { flex: 1; max-width: 160px; padding: 0 2rem; }
  .stat + .stat { border-left: 1px solid var(--border); }
  .stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 300; color: var(--gold); line-height: 1; }
  .stat-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }

  section { padding: 6rem 4rem; }
  .section-label { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
  .section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--cream); line-height: 1.2; }
  .section-title em { font-style: italic; color: var(--gold); }

  /* ABOUT */
  .about { max-width: 1100px; margin: 0 auto; }
  .about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; margin-top: 4rem; }
  .about-portrait { position: relative; }
  .portrait-frame { width: 100%; aspect-ratio: 3/4; background: var(--ink-soft); border: 1px solid var(--border); position: relative; overflow: hidden; }
  .portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
  .portrait-corner { position: absolute; bottom: -12px; right: -12px; width: 80px; height: 80px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
  .about-bio p { font-size: 1rem; font-weight: 300; color: var(--muted); line-height: 1.85; margin-bottom: 1.25rem; }
  .about-bio p strong { color: var(--cream); font-weight: 400; }
  .skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 2rem; }
  .skill-tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.5rem 1rem; border: 1px solid var(--border); color: var(--muted); background: rgba(201,169,110,0.04); transition: all 0.3s; }
  .skill-tag:hover { border-color: var(--gold); color: var(--gold); }

  /* SERVICES */
  .services-section { background: var(--ink-soft); }
  .services-inner { max-width: 1100px; margin: 0 auto; }
  .services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
  .service-card { padding: 2.5rem 2rem; background: var(--ink); border: 1px solid var(--border); transition: all 0.3s; position: relative; overflow: hidden; }
  .service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
  .service-card:hover::before { transform: scaleX(1); }
  .service-card:hover { background: rgba(201,169,110,0.04); }
  .service-num { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300; color: rgba(201,169,110,0.15); line-height: 1; margin-bottom: 1.5rem; }
  .service-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; color: var(--cream); margin-bottom: 0.75rem; }
  .service-desc { font-size: 0.88rem; font-weight: 300; color: var(--muted); line-height: 1.7; }

  /* WHY */
  .why-section { max-width: 1100px; margin: 0 auto; }
  .why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; }
  .why-card { padding: 2rem 1.5rem; border: 1px solid var(--border); background: rgba(201,169,110,0.02); transition: border-color 0.3s; }
  .why-card:hover { border-color: var(--gold); }
  .why-icon { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--gold); margin-bottom: 1rem; line-height: 1; }
  .why-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 400; color: var(--cream); margin-bottom: 0.6rem; }
  .why-desc { font-size: 0.85rem; font-weight: 300; color: var(--muted); line-height: 1.6; }

  /* WORK */
  .work-inner { max-width: 1100px; margin: 0 auto; }
  .work-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; }
  .work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .work-card { background: var(--ink-soft); border: 1px solid var(--border); overflow: hidden; position: relative; transition: all 0.4s; cursor: pointer; }
  .work-card:hover { border-color: var(--gold); }
  .work-card:hover .work-thumb::after { opacity: 1; }
  .work-card.featured { grid-column: span 2; }
  .work-thumb { aspect-ratio: 16/7; background: var(--ink); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
  .work-card.featured .work-thumb { aspect-ratio: 21/7; }
  .work-thumb::after { content: 'View Project'; position: absolute; inset: 0; background: rgba(201,169,110,0.15); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); opacity: 0; transition: opacity 0.3s; }
  .work-thumb-label { font-family: 'Cormorant Garamond', serif; font-size: 4rem; font-weight: 300; color: rgba(201,169,110,0.08); letter-spacing: 0.1em; }
  .work-info { padding: 1.5rem; }
  .work-cat { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
  .work-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--cream); }
  .work-tech { font-size: 0.78rem; color: var(--muted); margin-top: 0.35rem; font-weight: 300; }

  /* CONTACT */
  .contact-section { background: var(--ink-soft); }
  .contact-inner { max-width: 1100px; margin: 0 auto; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; margin-top: 3rem; }
  .contact-info-block { display: flex; flex-direction: column; }
  .contact-info-title { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; color: var(--cream); line-height: 1.15; margin-bottom: 0.5rem; }
  .contact-info-title em { font-style: italic; color: var(--gold); }
  .contact-sub { font-size: 0.9rem; font-weight: 300; color: var(--muted); line-height: 1.75; max-width: 380px; margin-bottom: 1.8rem; }
  .avail-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 1rem; border: 1px solid rgba(201,169,110,0.3); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.8rem; width: fit-content; }
  .avail-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; animation: blink 2s infinite; flex-shrink: 0; }
  @keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.35;} }
  .ci-cards { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
  .ci-card { display: flex; align-items: center; gap: 1.2rem; padding: 1rem 1.3rem; border: 1px solid var(--border); background: rgba(201,169,110,0.02); transition: all 0.3s; text-decoration: none; position: relative; overflow: hidden; }
  .ci-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform 0.35s ease; }
  .ci-card:hover::before { transform: scaleY(1); }
  .ci-card:hover { border-color: rgba(201,169,110,0.45); background: rgba(201,169,110,0.06); }
  .ci-icon { width: 42px; height: 42px; border: 1px solid rgba(201,169,110,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s; }
  .ci-card:hover .ci-icon { background: var(--gold); border-color: var(--gold); }
  .ci-card:hover .ci-icon svg { stroke: var(--ink); }
  .ci-icon svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; display: block; }
  .ci-body { flex: 1; min-width: 0; }
  .ci-label { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.18rem; }
  .ci-value { font-size: 0.9rem; font-weight: 400; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ci-arrow { color: var(--gold); font-size: 0.8rem; opacity: 0; transform: translateX(-6px); transition: all 0.3s; flex-shrink: 0; }
  .ci-card:hover .ci-arrow { opacity: 1; transform: translateX(0); }
  .cs-socials-label { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
  .contact-info-block nav, .footer-socials { position: static; background: none; border: none; padding: 0; backdrop-filter: none; display: block; }
  .cs-socials { display: flex; gap: 0.55rem; }
  .cs-soc { width: 42px; height: 42px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s; }
  .cs-soc:hover { background: var(--gold); border-color: var(--gold); }
  .cs-soc:hover svg { stroke: var(--ink); }
  .cs-soc svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; display: block; }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.8rem; }
  .form-group label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
  .form-group input, .form-group textarea { background: rgba(250,247,242,0.04); border: 1px solid var(--border); padding: 0.85rem 1rem; color: var(--cream); font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 300; outline: none; transition: border-color 0.3s; width: 100%; }
  .form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
  .form-group input::placeholder, .form-group textarea::placeholder { color: rgba(138,133,119,0.45); }
  .form-group textarea { min-height: 120px; resize: vertical; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .form-submit { width: 100%; padding: 1rem; background: var(--gold); border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--ink); transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 0.2rem; }
  .form-submit:hover { background: var(--gold-light); }
  .form-submit svg { width: 15px; height: 15px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

  footer { padding: 2.5rem 4rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
  .footer-copy { font-size: 0.78rem; color: var(--muted); font-weight: 300; }
  .footer-socials { display: flex; gap: 1.5rem; }
  .footer-socials a { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.3s; }
  .footer-socials a:hover { color: var(--gold); }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

  @media (max-width: 768px) {
    .main-nav { padding: 1.2rem 1.5rem; }
    .nav-links { display: none; }
    section { padding: 4rem 1.5rem; }
    .hero { padding: 7rem 1.5rem 3rem; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .ci-value { white-space: normal; }
    .cs-socials { flex-wrap: wrap; }
    .services-grid, .why-grid { grid-template-columns: 1fr; }
    .work-grid { grid-template-columns: 1fr; }
    .work-card.featured { grid-column: span 1; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats { gap: 0; }
    .stat { padding: 0 1rem; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
    .services-header, .work-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  }

/* ============================================
   CONTACT SECTION — Fixed CSS
   ============================================ */

#contact {
  background: #0F0E0C;
  padding: 5rem 4rem;
  overflow: hidden;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

/* Section label */
#contact .section-label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
#contact .section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201,169,110,0.2);
}

/* Two column grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* ── LEFT COLUMN ── */

.contact-info-block {
  min-width: 0;
  overflow: hidden;
}

.contact-info-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: #FAF7F2;
  line-height: 1.1;
  margin: 0 0 1rem 0;
}
.contact-info-title em {
  font-style: italic;
  color: #C9A96E;
}

.contact-sub {
  font-size: 0.85rem;
  font-weight: 300;
  color: #8A8577;
  line-height: 1.8;
  margin: 0 0 1.5rem 0;
}

/* Available badge */
.avail-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2rem;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}
.avail-dot {
  width: 7px !important;
  height: 7px !important;
  min-width: 7px;
  min-height: 7px;
  background: #4ade80 !important;
  border-radius: 50% !important;
  display: inline-block !important;
  animation: skp-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes skp-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}
.avail-badge span:not(.avail-dot),
.avail-badge > *:not(.avail-dot) {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4ade80;
  font-family: 'DM Sans', sans-serif;
}

/* Contact rows — clean minimal lines */
.ci-cards {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.ci-card {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0 !important;
  margin: 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(201,169,110,0.12) !important;
  background: transparent !important;
  text-decoration: none;
  transition: all 0.2s;
  position: static !important;
  box-shadow: none !important;
}
.ci-card:first-child {
  border-top: 1px solid rgba(201,169,110,0.12) !important;
}
.ci-card::before,
.ci-card::after {
  display: none !important;
}
.ci-card:hover {
  background: transparent !important;
  padding-left: 0 !important;
}
.ci-card:hover .ci-value {
  color: #C9A96E;
}

/* Icon — plain, no box */
.ci-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.ci-icon svg {
  width: 17px;
  height: 17px;
  stroke: #C9A96E !important;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: none !important;
}
.ci-card:hover .ci-icon {
  background: transparent !important;
}
.ci-card:hover .ci-icon svg {
  stroke: #C9A96E !important;
}

.ci-body { flex: 1; min-width: 0; }

.ci-label {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(138,133,119,0.5);
  display: block;
  margin-bottom: 0.15rem;
  font-family: 'DM Sans', sans-serif;
}

.ci-value {
  font-size: 0.88rem;
  font-weight: 400;
  color: #FAF7F2;
  transition: color 0.2s;
  display: block;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ci-arrow {
  color: #C9A96E;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.ci-card:hover .ci-arrow { opacity: 1; }

/* Social icons */
.cs-socials-label {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(138,133,119,0.5);
  display: block;
  margin-bottom: 0.65rem;
  font-family: 'DM Sans', sans-serif;
}
.cs-socials {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.cs-soc {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(201,169,110,0.22) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
  background: transparent !important;
}
.cs-soc:hover {
  border-color: #C9A96E !important;
  background: rgba(201,169,110,0.07) !important;
}
.cs-soc svg {
  width: 13px;
  height: 13px;
  stroke: #C9A96E;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* ── RIGHT COLUMN — CF7 Form ── */

.contact-grid > div:last-child {
  min-width: 0;
}

/* Strip all CF7 default spacing */
.wpcf7,
.wpcf7 form,
.wpcf7 form > p,
.wpcf7 form > div {
  margin: 0 !important;
  padding: 0 !important;
}

/* CF7 wraps each field in a span — make full width */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* Labels */
.wpcf7 label {
  font-size: 0.6rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: rgba(138,133,119,0.55) !important;
  display: block !important;
  margin: 1.4rem 0 0.35rem !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

/* Text + email inputs — underline only */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"] {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(201,169,110,0.22) !important;
  border-radius: 0 !important;
  padding: 0.5rem 0 !important;
  margin: 0 !important;
  color: #FAF7F2 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 300 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.3s !important;
  -webkit-appearance: none;
  -webkit-autofill: unset;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus {
  border-bottom-color: #C9A96E !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder {
  color: rgba(138,133,119,0.38) !important;
}

/* Chrome autofill background fix */
.wpcf7 input:-webkit-autofill,
.wpcf7 input:-webkit-autofill:hover,
.wpcf7 input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #0F0E0C inset !important;
  -webkit-text-fill-color: #FAF7F2 !important;
  border-bottom: 1px solid rgba(201,169,110,0.22) !important;
}

/* Textarea */
.wpcf7 textarea {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(201,169,110,0.22) !important;
  border-radius: 0 !important;
  padding: 0.5rem 0 !important;
  margin: 0 !important;
  color: #FAF7F2 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 300 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.3s !important;
  resize: none !important;
  min-height: 110px !important;
  max-height: 110px !important;
  display: block;
  overflow-y: auto;
}
.wpcf7 textarea:focus {
  border-bottom-color: #C9A96E !important;
  outline: none !important;
  box-shadow: none !important;
}
.wpcf7 textarea::placeholder {
  color: rgba(138,133,119,0.38) !important;
}

/* !! KEY FIX — kill the huge gap before submit !! */
.wpcf7 form > p:last-of-type,
.wpcf7 .wpcf7-submit-wrap,
.wpcf7 p:has(input[type="submit"]) {
  margin: 0 !important;
  padding: 0 !important;
}

/* Submit button */
.wpcf7 input[type="submit"] {
  display: block !important;
  width: 100% !important;
  margin-top: 1.8rem !important;
  padding: 0.95rem 1.5rem !important;
  background: #C9A96E !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  color: #0F0E0C !important;
  transition: background 0.3s !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
  line-height: 1 !important;
}
.wpcf7 input[type="submit"]:hover {
  background: #E8D5B0 !important;
}

/* Validation */
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 0.68rem !important;
  color: #f09595 !important;
  margin-top: 0.25rem !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 300 !important;
  display: block !important;
}
.wpcf7 .wpcf7-response-output {
  font-size: 0.75rem !important;
  padding: 0.7rem 1rem !important;
  margin-top: 1rem !important;
  border: 1px solid rgba(201,169,110,0.3) !important;
  color: #C9A96E !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-family: 'DM Sans', sans-serif !important;
}
.wpcf7 .wpcf7-mail-sent-ok {
  border-color: #4ade80 !important;
  color: #4ade80 !important;
}
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-spam-blocked {
  border-color: #f09595 !important;
  color: #f09595 !important;
}
/* ============================================
   CF7 Inputs — Full border (all sides)
   ============================================ */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"] {
  width: 100% !important;
  background: transparent !important;
  border: 1px solid rgba(201,169,110,0.22) !important;
  border-radius: 0 !important;
  padding: 0.75rem 1rem !important;
  margin: 0 !important;
  color: #FAF7F2 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 300 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.3s !important;
  -webkit-appearance: none;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus {
  border-color: #C9A96E !important;
  background: rgba(201,169,110,0.03) !important;
  box-shadow: none !important;
  outline: none !important;
}
.wpcf7 input[type="text"]::placeholder,
.wpcf7 input[type="email"]::placeholder,
.wpcf7 input[type="tel"]::placeholder {
  color: rgba(138,133,119,0.38) !important;
}

.wpcf7 input:-webkit-autofill,
.wpcf7 input:-webkit-autofill:hover,
.wpcf7 input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #0F0E0C inset !important;
  -webkit-text-fill-color: #FAF7F2 !important;
  border: 1px solid rgba(201,169,110,0.22) !important;
}

.wpcf7 textarea {
  width: 100% !important;
  background: transparent !important;
  border: 1px solid rgba(201,169,110,0.22) !important;
  border-radius: 0 !important;
  padding: 0.75rem 1rem !important;
  margin: 0 !important;
  color: #FAF7F2 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 300 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.3s !important;
  resize: none !important;
  min-height: 110px !important;
  max-height: 110px !important;
  display: block;
  overflow-y: auto;
}
.wpcf7 textarea:focus {
  border-color: #C9A96E !important;
  background: rgba(201,169,110,0.03) !important;
  outline: none !important;
  box-shadow: none !important;
}
.wpcf7 textarea::placeholder {
  color: rgba(138,133,119,0.38) !important;
}
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #contact { padding: 4rem 1.5rem; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .ci-value { white-space: normal; }
}