/* Food Safety Academy | Diseño profesional, limpio y orientado a calidad de alimentos. */
:root {
  --forest: #0E5F55;
  --forest-dark: #094D47;
  --ink: #123C40;
  --ink-deep: #0B3035;
  --body: #526566;
  --cream: #FBFCF8;
  --off-white: #F4F8F4;
  --mint: #E6F4EB;
  --mint-dark: #C9E6D7;
  --sage: #9ABDAB;
  --gold: #D5B578;
  --stroke: #DCE8E2;
  --shadow: 0 22px 48px rgba(15, 58, 51, .08);
  --radius: 20px;
  --font: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:85px}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img,svg{max-width:100%}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button,a,summary,input,select,textarea{ -webkit-tap-highlight-color:transparent }
:focus-visible{outline:3px solid #D9AE52;outline-offset:4px}
[hidden]{display:none!important}
.container{width:min(1170px,calc(100% - 64px));margin-inline:auto}
.skip-link{position:absolute;left:12px;top:-80px;z-index:300;background:white;padding:12px 20px;border-radius:10px}
.skip-link:focus{top:12px}
.site-header{position:relative;z-index:50;background:#fff;border-bottom:1px solid rgba(14,95,85,.08)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:91px;gap:28px}
.brand{display:inline-flex;align-items:center;gap:11px;flex-shrink:0}
.brand img{display:block;flex-shrink:0}
.brand-name{font-size:15px;font-weight:850;letter-spacing:.075em;line-height:1.17;color:var(--ink-deep)}
.brand-name span{display:block;color:var(--forest);letter-spacing:.24em;font-size:11px;margin-top:4px}
.nav{display:flex;align-items:center;gap:31px;font-size:13.5px;font-weight:650}
.nav>a:not(.btn){transition:color .2s}
.nav>a:not(.btn):hover{color:var(--forest)}
.nav-contact{margin-left:4px}
.menu-toggle{display:none;border:none;background:transparent;width:44px;height:44px;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.menu-toggle span{height:2px;width:23px;background:var(--ink);border-radius:5px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:17px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:14px;font-weight:800;line-height:1.2;transition:transform .2s,background .2s,box-shadow .2s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--forest);color:white;box-shadow:0 9px 25px rgba(14,95,85,.14)}
.btn-primary:hover{background:var(--forest-dark)}
.btn-small{padding:13px 18px}
.btn-large{min-height:55px;padding:17px 23px}
.btn-arrow{font-size:19px;line-height:1}
.hero{position:relative;overflow:hidden;background:linear-gradient(107deg,#FBFCF9 5%,#F5F9F4 58%,#ECF6F0 100%)}
.hero-orb{position:absolute;pointer-events:none;border-radius:50%;filter:blur(2px)}
.hero-orb-left{width:390px;height:390px;background:radial-gradient(circle,rgba(209,235,218,.35),transparent 68%);left:-245px;top:145px}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:34px;min-height:620px;padding-top:62px;padding-bottom:66px}
.hero-copy{position:relative;z-index:2;max-width:650px;padding-bottom:18px}
.eyebrow{display:flex;align-items:center;gap:12px;font-size:11px;line-height:1.4;font-weight:850;letter-spacing:.19em;color:var(--forest);margin:0 0 21px;text-transform:uppercase}
.eyebrow-line{display:inline-block;width:27px;height:2px;background:var(--gold)}
.hero h1{font-size:clamp(43px,4.75vw,70px);font-weight:810;line-height:1.09;letter-spacing:-.056em;max-width:660px;margin:0 0 25px}
h1 em,h2 em{font-style:normal;color:var(--forest)}
.hero-description{font-size:17px;line-height:1.82;color:var(--body);max-width:550px;margin:0 0 33px}
.hero-actions{display:flex;align-items:center;gap:29px;flex-wrap:wrap}
.text-link{font-size:14px;font-weight:780;color:var(--ink);border-bottom:1px solid var(--ink);padding-bottom:3px;white-space:nowrap}
.text-link span{margin-left:7px}
.hero-trust{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:37px;color:#526865;font-size:12px;font-weight:680}
.hero-trust span{display:inline-flex;gap:7px;align-items:center}
.hero-trust svg{width:16px;height:16px;stroke:#218B70;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.hero-visual{position:relative;isolation:isolate;align-self:stretch;min-height:500px;display:grid;place-items:center}
.hero-image-wrap{width:100%;max-width:530px;position:relative;z-index:1}
.hero-art{display:block;width:100%;height:auto;filter:drop-shadow(0 28px 22px rgba(21,69,58,.08))}
.floating-card{position:absolute;z-index:2;display:flex;align-items:center;gap:10px;padding:12px 15px;border:1px solid rgba(204,222,209,.8);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 15px 40px rgba(13,52,45,.12)}
.floating-card b{display:block;color:var(--ink);font-size:12px;line-height:1.25}
.floating-card small{display:block;color:var(--body);font-size:10px;margin-top:3px;white-space:nowrap}
.floating-card-top{right:0;top:21%}.floating-card-bottom{left:0;bottom:18%}
.float-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;font-size:17px;font-weight:850;flex-shrink:0}
.float-icon-check{background:#DDF5E8;color:var(--forest)}.float-icon-leaf{background:#FFF3D8;color:#9E782C}
.principles{background:var(--ink-deep);color:#EDF9F3;padding:22px 0}
.principles-row{display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:center;font-size:11px;font-weight:820;letter-spacing:.14em}
.principle-dot{color:#8FD0AF;font-size:18px;font-weight:400}
.section{padding:99px 0 110px}
.section-heading{margin-bottom:32px}
.heading-split{display:grid;grid-template-columns:1.2fr .64fr;align-items:end;gap:60px}
.eyebrow-green{color:#18806C}
.section h2,.contact-section h2{font-size:clamp(35px,3.55vw,49px);line-height:1.16;letter-spacing:-.052em;margin:0;font-weight:800;max-width:690px}
.heading-split>p{font-size:15px;line-height:1.9;color:var(--body);margin:0 0 5px}
.course-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.filters{display:flex;flex-wrap:wrap;gap:9px}
.filter-btn{border:1px solid var(--stroke);background:#fff;color:#45605D;border-radius:8px;padding:10px 18px;font-size:13px;font-weight:760;transition:all .2s}
.filter-btn:hover{border-color:var(--forest)}.filter-btn.active{background:var(--forest);color:white;border-color:var(--forest)}
.small-note{display:flex;gap:7px;align-items:center;color:#6C7F7A;font-size:12px;white-space:nowrap;margin:0}
.status-dot{width:7px;height:7px;background:#CF9F57;border-radius:50%}
.course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}
.course-card{background:white;border:1px solid #E3EDE7;border-radius:18px;overflow:hidden;box-shadow:0 7px 23px rgba(22,65,59,.035);transition:transform .22s,box-shadow .22s}
.course-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.course-image{height:198px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}
.course-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.course-card:hover .course-image img{transform:scale(1.045)}
.course-image-sage{background:#E9F3E9}.course-image-cream{background:#F5F0E2}.course-image-blue{background:#E6F1F2}.course-image-mint{background:#DCEEE5}
.course-status{position:absolute;left:17px;top:17px;z-index:1;background:rgba(255,255,255,.93);border:1px solid rgba(211,224,212,.8);padding:5px 9px;border-radius:5px;color:#32685D;font-size:9px;font-weight:850;letter-spacing:.11em}
.course-body{padding:24px 26px 21px}
.course-kicker{display:block;font-size:10px;font-weight:850;letter-spacing:.12em;color:#13806A;margin-bottom:9px}
.course-body h3{font-size:23px;line-height:1.27;letter-spacing:-.025em;margin:0 0 12px;max-width:440px}
.course-body>p{color:var(--body);font-size:14px;line-height:1.7;min-height:47px;margin:0 0 21px}
.course-footer{border-top:1px solid #EAF0EC;padding-top:17px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.course-mode{font-size:11px;color:#81908B}.course-detail{font-weight:800;color:var(--forest);border:0;background:none;padding:4px 0;font-size:12px;white-space:nowrap}.course-detail:hover{text-decoration:underline}.course-detail span{margin-left:4px}
.catalog-notice{font-size:12px;text-align:center;color:#73857F;margin:26px 0 0}
.catalog-notice span{font-size:17px;vertical-align:-1px;margin-right:5px}
.method-section{background:#F0F7F0}
.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}
.method-intro>p:not(.eyebrow){color:var(--body);font-size:16px;line-height:1.8;margin:24px 0 31px;max-width:480px}
.method-highlight{background:#fff;border-left:3px solid var(--gold);padding:17px 22px;display:flex;align-items:flex-start;gap:10px;box-shadow:0 8px 20px rgba(13,68,51,.04)}
.highlight-mark{color:var(--gold);font-family:Georgia,serif;font-size:42px;line-height:1}
.method-highlight p{margin:2px 0;font-size:13px;line-height:1.6;font-weight:720;color:#4A6860}
.method-steps{padding-top:4px}
.method-step{display:grid;grid-template-columns:62px 1fr;gap:24px;padding:25px 0;border-bottom:1px solid #D3E4D7}
.method-step:first-child{border-top:1px solid #D3E4D7}
.step-number{font-size:39px;color:#86B5A3;font-weight:300;line-height:1.2;letter-spacing:-.07em}
.method-step h3{margin:2px 0 8px;font-size:19px;letter-spacing:-.02em}
.method-step p{color:var(--body);font-size:14px;line-height:1.7;margin:0}
.centered-heading{text-align:center;max-width:650px;margin:0 auto 40px}
.centered-heading .eyebrow{justify-content:center}
.centered-heading h2{margin-inline:auto}
.centered-heading>p:last-child{color:var(--body);margin:20px 0 0}
.format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
.format-card{padding:35px 30px 30px;background:#fff;border:1px solid var(--stroke);border-radius:18px;min-height:275px;display:flex;flex-direction:column}
.format-icon{width:62px;height:62px;background:#E4F3E8;border-radius:16px;display:grid;place-items:center;margin-bottom:26px}
.format-icon svg{width:32px;height:32px;stroke:var(--forest);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.format-card h3{font-size:20px;letter-spacing:-.025em;line-height:1.25;margin:0 0 9px}
.format-card p{font-size:13px;line-height:1.7;color:var(--body);margin:0 0 20px}
.format-card>span{margin-top:auto;color:#78917D;font-size:10px;font-weight:860;letter-spacing:.13em}
.about-section{padding-top:30px;padding-bottom:106px}
.about-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:89px;align-items:center}
.about-visual{min-height:428px;background:linear-gradient(135deg,#D7ECE0 0%,#B7D8C9 100%);border-radius:20px;position:relative;display:grid;place-items:center;overflow:hidden}
.about-circle{position:absolute;border:1px solid rgba(255,255,255,.55);border-radius:50%}.about-circle-one{width:450px;height:450px}.about-circle-two{width:345px;height:345px}
.about-brand-seal{z-index:1;width:235px;height:235px;background:rgba(255,255,255,.95);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 19px 70px rgba(10,70,53,.08)}
.about-brand-seal p{max-width:150px;text-align:center;line-height:1.6;font-size:10px;letter-spacing:.12em;font-weight:850;color:var(--forest);margin:12px 0 0}
.about-side-label{position:absolute;bottom:22px;left:30px;font-size:10px;letter-spacing:.17em;font-weight:800;color:#306B5B}
.about-copy h2{max-width:555px}
.about-copy>p:not(.eyebrow){font-size:15px;line-height:1.85;color:var(--body);margin:22px 0 0}
.about-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.about-tags span{background:#EAF4EC;color:#307262;border:1px solid #D4E6D8;border-radius:6px;padding:8px 12px;font-size:11px;font-weight:780}
.faq-section{background:#F5F9F4;padding-top:83px;padding-bottom:95px}
.faq-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}
.faq-side-text{color:var(--body);line-height:1.8;font-size:15px;max-width:320px;margin:20px 0 0}
.faq-list details{border-bottom:1px solid #D7E4DA;padding:0}
.faq-list details:first-child{border-top:1px solid #D7E4DA}
.faq-list summary{cursor:pointer;padding:20px 2px;display:flex;justify-content:space-between;gap:18px;align-items:center;list-style:none;font-weight:780;font-size:15px}
.faq-list summary::-webkit-details-marker{display:none}
.faq-plus{font-size:23px;font-weight:300;color:var(--forest);transition:transform .2s}
.faq-list details[open] .faq-plus{transform:rotate(45deg)}
.faq-list details p{margin:0 28px 21px 2px;color:var(--body);line-height:1.78;font-size:14px}
.contact-section{background:var(--ink-deep);color:white;padding:87px 0 96px;position:relative;overflow:hidden}
.contact-section:after{content:"";position:absolute;width:490px;height:490px;right:-310px;bottom:-255px;border:1px solid rgba(164,230,189,.22);border-radius:50%;box-shadow:0 0 0 90px rgba(164,230,189,.025),0 0 0 165px rgba(164,230,189,.025);pointer-events:none}
.contact-grid{position:relative;z-index:1;display:grid;grid-template-columns:.95fr 1.05fr;gap:80px}
.eyebrow-light{color:#97D9B7}
.contact-copy h2{max-width:500px;color:#fff}.contact-copy h2 em{color:#A0D7BC}
.contact-copy>p:not(.eyebrow){color:#D1DFDB;max-width:485px;line-height:1.85;font-size:15px;margin:24px 0 34px}
.contact-detail{display:flex;align-items:center;gap:15px;font-size:14px;font-weight:720}
.contact-detail small{font-weight:450;font-size:12px;color:#B7D1C9}
.contact-icon{display:grid;place-items:center;background:#1D5E5C;border:1px solid #337A74;border-radius:12px;width:46px;height:46px;color:#ACDCC7;font-size:24px}
.contact-form{background:#fff;color:var(--ink);border-radius:18px;padding:31px 32px;box-shadow:0 23px 75px rgba(0,0,0,.12)}
.contact-form h3{margin:0 0 7px;font-size:23px;letter-spacing:-.025em}
.contact-form-intro{margin:0 0 19px;font-size:12px;color:#778983;line-height:1.6}
.contact-form label{display:block;font-size:12px;font-weight:780;margin-bottom:14px;color:#38524E}
.contact-form input,.contact-form select,.contact-form textarea{margin-top:6px;display:block;width:100%;border:1px solid #D8E4DE;background:#FAFCF9;border-radius:8px;padding:11px 12px;font-size:13px;line-height:1.4;outline:none;transition:border-color .2s}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:var(--forest)}
.contact-form textarea{resize:vertical;min-height:85px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.btn-form{color:white;background:var(--forest);padding:14px 21px;width:100%;justify-content:space-between;margin-top:0}
.btn-form:hover{background:var(--forest-dark)}
.form-feedback{min-height:17px;font-size:12px;line-height:1.5;color:#317764;margin:12px 0 0}
.copy-fallback{width:100%;min-height:100px;margin-top:10px}
.site-footer{background:#fff;color:var(--ink)}
.footer-main{display:flex;align-items:center;gap:25px;padding:32px 0;border-bottom:1px solid var(--stroke)}
.footer-main>p{margin:0 auto 0 10px;color:var(--body);font-size:13px}
.back-top{font-size:12px;font-weight:750;color:var(--forest);white-space:nowrap}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:19px 0 23px;color:#748780}
.footer-bottom small{font-size:11px}
.course-dialog{width:min(550px,calc(100% - 24px));border:0;border-radius:20px;padding:33px 35px 32px;box-shadow:0 28px 100px rgba(0,0,0,.23);max-height:min(80vh,800px);overflow-y:auto;color:var(--ink)}
.course-dialog::backdrop{background:rgba(8,39,42,.58);backdrop-filter:blur(3px)}
.dialog-close{position:absolute;right:20px;top:12px;border:0;background:transparent;color:#57716C;font-size:31px;line-height:1.5}
.course-dialog h2{font-size:29px;line-height:1.2;letter-spacing:-.04em;margin:0 20px 13px 0}
.course-dialog>p:not(.eyebrow){font-size:14px;line-height:1.7;color:var(--body)}
.course-dialog h3{font-size:15px;margin:24px 0 12px}
.course-dialog ul{padding:0;list-style:none;margin:0 0 25px}
.course-dialog li{position:relative;padding:9px 0 9px 25px;color:var(--body);font-size:13px;border-bottom:1px solid #E8EFEA}
.course-dialog li:before{content:'✓';position:absolute;left:3px;color:var(--forest);font-weight:850}
.dialog-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.dialog-actions .btn{font-size:12px;padding:11px 15px}
.dialog-label{font-size:11px;color:#7F908A}
@media(max-width:1070px){
  .nav{gap:18px}.hero-grid{gap:5px}.hero h1{font-size:clamp(43px,5vw,61px)}
  .floating-card-top{right:-5px}.floating-card-bottom{left:-5px}
  .method-grid{gap:58px}.about-grid{gap:50px}.contact-grid{gap:46px}.faq-grid{gap:50px}
}
@media(max-width:830px){
  .header-inner{min-height:78px}.menu-toggle{display:flex}.nav{position:absolute;top:100%;left:0;right:0;padding:15px 32px 26px;background:#fff;display:none;flex-direction:column;align-items:stretch;gap:6px;border-bottom:1px solid var(--stroke);box-shadow:0 18px 30px rgba(11,48,53,.08)}.nav.is-open{display:flex}.nav>a:not(.btn){padding:10px 6px}.nav-contact{margin:10px 0 0;align-self:flex-start}
  .hero-grid{grid-template-columns:1fr;min-height:auto;padding-top:66px;padding-bottom:52px;gap:10px}
  .hero-copy{max-width:670px}.hero-description{max-width:580px}
  .hero-visual{min-height:auto;width:min(570px,100%);margin-inline:auto}
  .floating-card-top{right:3%}.floating-card-bottom{left:3%}
  .principles-row{flex-wrap:wrap;justify-content:center;column-gap:22px;row-gap:6px}
  .heading-split{grid-template-columns:1fr;gap:15px}.heading-split>p{max-width:650px}
  .method-grid,.about-grid,.faq-grid,.contact-grid{grid-template-columns:1fr;gap:42px}
  .method-intro{max-width:650px}.method-steps{max-width:700px}.about-visual{max-width:600px;width:100%;margin:auto}.about-copy{max-width:730px}
  .faq-grid{gap:22px}.faq-side-text{max-width:none}
  .contact-grid{gap:33px}.contact-copy>p:not(.eyebrow){max-width:650px}
}
@media(max-width:620px){
  .container{width:min(100% - 36px,1170px)}.site-header .brand-name{font-size:13px}.site-header .brand-name span{font-size:9px}.site-header .brand img{width:39px;height:39px}
  .hero-grid{padding-top:49px;padding-bottom:35px}
  .hero h1{font-size:clamp(40px,10.7vw,57px)}
  .hero-description{font-size:15px;line-height:1.75}
  .hero-actions{align-items:flex-start;flex-direction:column;gap:20px}.hero-trust{margin-top:26px;gap:9px 14px}
  .floating-card{padding:8px 10px}.floating-card b{font-size:10px}.floating-card small{font-size:9px}.float-icon{width:28px;height:28px;font-size:14px}
  .hero-visual{margin-top:16px}.floating-card-top{top:18%;right:0}.floating-card-bottom{bottom:13%;left:0}
  .principles{padding:17px 0}.principles-row{font-size:10px;gap:5px 15px}.principle-dot{font-size:14px}
  .section{padding-top:64px;padding-bottom:71px}.section h2,.contact-section h2{font-size:clamp(34px,8.1vw,44px)}
  .section-heading{margin-bottom:25px}.course-toolbar{align-items:flex-start;flex-direction:column;gap:13px}.filters{gap:6px}.filter-btn{padding:8px 11px;font-size:12px}
  .course-grid{grid-template-columns:1fr;gap:17px}.course-body{padding:19px 20px 18px}.course-body h3{font-size:21px}.course-body>p{min-height:0}
  .course-image{height:175px}.course-footer{gap:9px}.course-mode{font-size:10px}.course-detail{font-size:11px}
  .method-grid{gap:22px}.method-step{grid-template-columns:44px 1fr;gap:15px;padding:21px 0}.step-number{font-size:32px}
  .format-grid{grid-template-columns:1fr;gap:13px}.format-card{min-height:auto;padding:27px 25px}.format-icon{margin-bottom:15px}
  .about-section{padding-top:0}.about-visual{min-height:310px}.about-brand-seal{width:190px;height:190px}.about-circle-one{width:350px;height:350px}.about-circle-two{width:260px;height:260px}
  .faq-section{padding-top:61px}.faq-list summary{font-size:14px}
  .contact-section{padding:62px 0 69px}.contact-form{padding:24px 20px}.form-row{grid-template-columns:1fr;gap:0}
  .footer-main{flex-wrap:wrap;gap:11px}.footer-main>p{flex-basis:100%;margin:5px 0}.back-top{margin-left:auto}.footer-bottom{flex-direction:column;gap:5px}
  .course-dialog{padding:29px 23px 24px}.course-dialog h2{font-size:25px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
