/* =========================
   BONAFI — BASE
========================= */

:root {
  --green-dark: #102317;
  --green: #1a3322;
  --green-soft: #223b29;
  --gold: #b99a50;
  --cream: #f5f3ed;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background-color: var(--green-dark);
  color: var(--cream);
}


/* =========================
   HEADER
========================= */

.site-header {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.025), transparent 25%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.02), transparent 25%),
    var(--green-dark);

  padding: 28px 6%;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 22px;
}

.logo {
  width: 310px;
  max-width: 32vw;
  display: block;
}

.desktop-nav {
  display: flex;
  gap: 52px;
}

.desktop-nav a {
  font-family: "Bodoni Moda", serif;
  color: var(--cream);
  text-decoration: none;
  font-size: 21px;
  transition: opacity 0.2s ease;
}

.desktop-nav a:hover {
  opacity: 0.7;
}

.menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 28px;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 610px;
  position: relative;
  display: flex;
  align-items: center;

  background:
     linear-gradient(
    90deg,
    rgba(10, 28, 17, 0.76) 0%,
    rgba(10, 28, 17, 0.64) 35%,
    rgba(10, 28, 17, 0.40) 65%,
    rgba(10, 28, 17, 0.18) 100%
  ),
  url("assets/hero.jpg");

  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 12, 0.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6%;
}

.hero h1 {
  font-family: "Bodoni Moda", serif;
  font-weight: 400;
  color: var(--gold);
font-size: clamp(42px, 3.8vw, 62px);
max-width: 850px;
line-height: 1.02;
  margin-bottom: 20px;
}

.hero p {
    font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  max-width: 720px;
  margin-bottom: 30px;
}

.button {
  display: inline-block;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;

  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;

  padding: 12px 20px;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.button-gold {
  background: var(--gold);
  color: var(--white);
}


/* =========================
   SERVICES
========================= */

.services {
  background: var(--green-dark);
  color: var(--cream);
  padding: 70px 8%;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-heading {
  margin-bottom: 42px;
}

.services-heading h2 {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(36px, 3vw, 48px);
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 8px;
}

.services-heading p {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--cream);
  opacity: 0.82;
}

.service-accordion {
  border-top: 1px solid rgba(185, 154, 80, 0.45);
}

.service-accordion:last-child {
  border-bottom: 1px solid rgba(185, 154, 80, 0.45);
}

.service-accordion summary {
  list-style: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 24px 0;
}

.service-accordion summary::-webkit-details-marker {
  display: none;
}

.service-title-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.accordion-icon {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.accordion-icon svg {
  width: 30px;
  height: 30px;

  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-title-group h3 {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(24px, 2vw, 30px);
  font-weight: 400;
  color: var(--cream);
}

.accordion-symbol {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.accordion-symbol::before,
.accordion-symbol::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 16px;
  height: 1px;

  background: var(--gold);
  transform: translate(-50%, -50%);
}

.accordion-symbol::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.25s ease;
}

.service-accordion[open] .accordion-symbol::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-content {
  max-width: 760px;
  margin-left: 58px;
  padding: 0 0 30px;
}

.accordion-content p {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 16px;
  opacity: 0.86;
}

.accordion-content ul {
  padding-left: 18px;
}

.accordion-content li {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.service-accordion summary:hover h3 {
  color: var(--gold);
}


/* =========================
   ABOUT
========================= */

.about {
  padding: 60px 7%;

  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.025), transparent 20%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.018), transparent 22%),
    var(--green-dark);
}

.about-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.about-visual {
  position: relative;
  min-height: 430px;
}

.about-gold-block {
  position: absolute;
width: 78%;
height: 78%;
  background: var(--gold);
left: 12%;
top: 12%;
}

.about-image {
  position: absolute;
  width: 78%;
  height: 78%;
  right: 0;
  bottom: 0;

  background:
    linear-gradient(
      rgba(16, 35, 23, 0.14),
      rgba(16, 35, 23, 0.14)
    ),
    url("assets/about.jpg");

  background-size: cover;
  background-position: center;
}

.about-copy h2 {
  font-family: "Bodoni Moda", serif;
  font-size: 41px;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 22px;
}

.about-copy p {
  font-size: 18px;
font-weight: 300;
  line-height: 1.5;
  margin-bottom: 28px;
  max-width: 580px;
}

/* =========================
   CONTACT FORM
========================= */

.contact-section {
  background: var(--green-soft);
  color: var(--cream);
  padding: 85px 8%;
}

.contact-section-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: start;
}


/* LEFT SIDE */

.contact-intro {
  padding-top: 8px;
}

.contact-intro h2 {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.05;

  color: var(--gold);

  margin-bottom: 25px;
}

.contact-intro > p {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;

  max-width: 430px;
  margin-bottom: 40px;
}

.direct-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;

  font-family: "DM Sans", sans-serif;
}

.direct-contact span {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.75;
}

.direct-contact a {
  color: var(--gold);
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
}

.direct-contact a:hover {
  opacity: 0.75;
}


/* FORM */

.contact-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.form-group label {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;

  color: var(--cream);
  margin-bottom: 8px;
}


/* INPUTS */

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;

  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 300;

  color: var(--cream);

  background: rgba(255, 255, 255, 0.035);

  border: 1px solid rgba(185, 154, 80, 0.45);
  border-radius: 0;

  padding: 15px 16px;

  outline: none;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(245, 243, 237, 0.45);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.055);
}

.contact-form select {
  appearance: auto;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}


/* SUBMIT BUTTON */

.form-submit {
  background: var(--gold);
  color: var(--white);

  border: none;
  border-radius: 0;

  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;

  padding: 13px 22px;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.form-submit:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}


/* MOBILE */

@media (max-width: 800px) {

  .contact-section {
    padding: 60px 7%;
  }

  .contact-section-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-intro h2 {
    font-size: 42px;
  }

  .contact-intro > p {
    font-size: 17px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: var(--green-dark);
  color: var(--cream);
  padding: 60px 8% 35px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


/* BRAND */

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 230px;
  max-width: 70%;
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 300;
  opacity: 0.78;
}


/* DIVIDER */

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(185, 154, 80, 0.4);
  margin: 35px 0 30px;
}


/* NAVIGATION */

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 55px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-nav a {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 300;

  color: var(--cream);
  text-decoration: none;

  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}


/* LINKEDIN */

.footer-social {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.linkedin-link {
  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(185, 154, 80, 0.45);

  color: var(--gold);
  text-decoration: none;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.linkedin-link svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.linkedin-link:hover {
  background: rgba(185, 154, 80, 0.08);
  transform: translateY(-1px);
}


/* EMAIL */

.footer-contact {
  margin-bottom: 24px;
}

.footer-contact a {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;

  color: var(--gold);
  text-decoration: none;
}

.footer-contact a:hover {
  opacity: 0.75;
}


/* LEGAL */

.footer-legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  margin-bottom: 14px;
}

.footer-legal-links a,
.footer-legal-links span {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 300;

  color: var(--cream);
  opacity: 0.58;
  text-decoration: none;
}

.footer-legal-links a:hover {
  opacity: 1;
}


/* COPYRIGHT */

.footer-copyright {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 300;

  color: var(--cream);
  opacity: 0.5;
}


/* MOBILE */

@media (max-width: 700px) {

  .site-footer {
    padding: 50px 7% 30px;
  }

  .footer-logo {
    width: 200px;
  }

  .footer-nav {
    gap: 22px;
  }

  .footer-legal-links {
    flex-wrap: wrap;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  /* HEADER */

  .site-header {
    padding: 24px 7% 20px;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .logo {
    width: 190px;
  }

  .desktop-nav {
    width: 100%;
    justify-content: center;
    gap: 22px;
  }

  .desktop-nav a {
    font-size: 15px;
    white-space: nowrap;
  }


  /* HERO */

  .hero {
    min-height: 620px;
    align-items: center;

    background-position: 62% center;
  }

.hero-content {
  width: 100%;
  padding: 50px 7%;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.02;
  max-width: 100%;
  margin-bottom: 22px;
}

.hero p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 360px;
  margin: 0 auto 30px;
}

.hero .button {
  font-size: 14px;
  padding: 13px 21px;
}

}

/* MOBILE - SOBRE NOSOTROS */

@media (max-width: 700px) {

  .about {
    padding: 40px 7% 20px;
  }

  .about-inner {
 display: flex;
  flex-direction: column;
  gap: 30px;
  }


  /* TEXTO PRIMERO */

  .about-copy {
    order: 1;
    width: 100%;
    text-align: center;
  }

  .about-copy h2 {
    font-size: 42px;
    line-height: 1.05;
    margin-bottom: 24px;
  }

  .about-copy p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }


  /* IMAGEN DESPUÉS */

  .about-visual {
    order: 2;
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 360px;
    margin: 0 auto;
  }

  .about-gold-block {
    width: 86%;
    height: 86%;
    left: 4%;
    top: 4%;
  }

  .about-image {
    width: 86%;
    height: 86%;
    right: 4%;
    bottom: 4%;

    background-size: cover;
    background-position: center;
  }

/* MOBILE - SERVICIOS */

@media (max-width: 700px) {

  .services {
    padding: 30px 7% 45px;
  }

  .services-heading {
    text-align: center;
    margin-bottom: 30px;
  }

  .services-heading h2 {
    font-size: 42px;
    line-height: 1.05;
    margin-bottom: 16px;
  }

  .services-heading p {
    font-size: 17px;
    line-height: 1.5;
    max-width: 330px;
    margin: 0 auto;
  }

  .service-accordion summary {
    padding: 20px 0;
  }

  .service-title-group {
    gap: 12px;
  }

  .accordion-icon {
    width: 30px;
    height: 30px;
  }

  .accordion-icon svg {
    width: 25px;
    height: 25px;
  }

  .service-title-group h3 {
    font-size: 19px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .accordion-symbol {
    width: 18px;
    height: 18px;
  }

/* MOBILE - CONTACT INTRO */

@media (max-width: 700px) {

.contact-section {
  padding: 40px 7%;
}

.contact-section-inner {
  grid-template-columns: 1fr;
  gap: 30px;
}

  .contact-intro {
    text-align: center;
    padding-top: 0;
  }

  .contact-intro h2 {
    font-size: 42px;
    line-height: 1.05;
    margin-bottom: 20px;
  }

  .contact-intro > p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 360px;
    margin: 0 auto 32px;
  }

  .direct-contact {
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .direct-contact span {
    font-size: 14px;
  }

  .direct-contact a {
    font-size: 17px;
  }

.form-submit {
  display: block;
  margin: 0 auto;
}

.form-status {
  margin-top: 18px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.form-success {
  color: var(--cream);
}

.form-error {
  color: #e8b4a8;
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
}